\library\EWRporta\Block\RecentNews.php 

hoặc bạn có thể copy file này đè chồng vào thư mục \library\EWRporta\Block\

thật ra nó thêm một hàm này ở đoạn cuối file RecentNews.php

	return $post;
		}
        
        if (preg_match('#\[media=youtube\](.+?)\[/media\]#i', $post['message'], $matches)){
            $post['promote_data'] = 'http://img.youtube.com/vi/'.$matches[1].'/0.jpg';
            $post['image'] = 'http://img.youtube.com/vi/'.$matches[1].'/0.jpg';
            return $post;
        }

		return $post;
	}
}